package com.example.mskefu.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BrowseRecordAndShop {
    @Schema(description = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "店铺id")
    private String shopId;

    @Schema(description="店铺用户id")
    private String ShopUserId;

    @Schema(description = "时间")
    private String time;

    @Schema(description = "店铺名称")
    @TableField("shop_name")
    private String shopName;

    @Schema(description = "店铺logo")
    private String logo;


    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "用户名")
    private String userName;

}
